﻿@{
    Layout = "~/Views/Shared/_LayoutForChild.cshtml";
}
@{
    ViewBag.Title = "Reg";
}
<script src="~/Scripts/jquery.validate.js" type="text/javascript"></script>
<script src="~/Scripts/Reg.js" type="text/javascript"></script>
<h2>Reg</h2>
<form class="cmxform" id="commentForm" method="get" action="">
    <fieldset>
        <legend>Please provide your name, email address (won't be published) and a comment</legend>
        <table>
            <tr>
                <td>
                    <label for="cname">Name (required, at least 2 characters)</label>
                    
                </td>
                <td>
                    <input id="cname" name="name" maxlength="2" type="text" required />
                </td>
            </tr>
            <tr>
                <td>
                    <label for="cemail">E-Mail (required)</label>
                </td>
                <td>
                    <input id="cemail" type="email" name="email" required />
                </td>
            </tr>
            <tr>
                <td><label for="curl">URL (optional)</label></td>
                <td><input id="curl" type="url" name="url" /></td>
            </tr>
            <tr>
                <td><label for="ccomment">Your comment (required)</label></td>
                <td><textarea id="ccomment" name="comment" required></textarea></td>
            </tr>
            <tr>
                <td></td>
                <td><input class="submit" type="submit" value="Submit" /></td>
            </tr>
        </table>
        
        
    </fieldset>
</form>

